<template>
    <tr>
        <td @click="addNum">{{num}}</td>
    </tr>
</template>
<script>
export default {
    data(){
        return {
            num: 0
        }
    },
    methods: {
        addNum() {
            this.num ++
        }
    }
}
</script>
<style>

</style>


